import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:largefriends/res/lf_color.dart';
import 'package:largefriends/res/lf_double_ext.dart';
import 'package:shimmer/shimmer.dart';

class LfManageAccessLoading extends StatelessWidget {
  const LfManageAccessLoading({super.key});

  @override
  Widget build(BuildContext context) {
    return Shimmer.fromColors(
      baseColor: color8F8F8F,
      highlightColor: color514F62.withAlpha(10),
      period: const Duration(seconds: 1),
      child: Padding(
        padding: EdgeInsets.symmetric(horizontal: 10.w),
        child: Column(children: [
          Container(
            margin: EdgeInsets.only(left: 10.w, right: 10.w, top: 15.h),
            padding: EdgeInsets.symmetric(horizontal: 10.w, vertical: 10.h),
            decoration:
                BoxDecoration(color: Colors.white, borderRadius: 10.r.radius),
            height: 120.h,
            width: ScreenUtil().screenWidth,
          ),
          Container(
            margin: EdgeInsets.only(left: 10.w, right: 10.w, top: 15.h),
            padding: EdgeInsets.symmetric(horizontal: 10.w, vertical: 10.h),
            decoration:
                BoxDecoration(color: Colors.white, borderRadius: 10.r.radius),
            height: 120.h,
            width: ScreenUtil().screenWidth,
          ),
          Container(
            margin: EdgeInsets.only(left: 10.w, right: 10.w, top: 15.h),
            padding: EdgeInsets.symmetric(horizontal: 10.w, vertical: 10.h),
            decoration:
                BoxDecoration(color: Colors.white, borderRadius: 10.r.radius),
            height: 120.h,
            width: ScreenUtil().screenWidth,
          ),
          Container(
            margin: EdgeInsets.only(left: 10.w, right: 10.w, top: 15.h),
            padding: EdgeInsets.symmetric(horizontal: 10.w, vertical: 10.h),
            decoration:
                BoxDecoration(color: Colors.white, borderRadius: 10.r.radius),
            height: 120.h,
            width: ScreenUtil().screenWidth,
          ),
          Container(
            margin: EdgeInsets.only(left: 10.w, right: 10.w, top: 15.h),
            padding: EdgeInsets.symmetric(horizontal: 10.w, vertical: 10.h),
            decoration:
                BoxDecoration(color: Colors.white, borderRadius: 10.r.radius),
            height: 120.h,
            width: ScreenUtil().screenWidth,
          ),
          Container(
            margin: EdgeInsets.only(left: 10.w, right: 10.w, top: 15.h),
            padding: EdgeInsets.symmetric(horizontal: 10.w, vertical: 10.h),
            decoration:
                BoxDecoration(color: Colors.white, borderRadius: 10.r.radius),
            height: 120.h,
            width: ScreenUtil().screenWidth,
          ),
          Container(
            margin: EdgeInsets.only(left: 10.w, right: 10.w, top: 15.h),
            padding: EdgeInsets.symmetric(horizontal: 10.w, vertical: 10.h),
            decoration:
                BoxDecoration(color: Colors.white, borderRadius: 10.r.radius),
            height: 120.h,
            width: ScreenUtil().screenWidth,
          ),
        ]),
      ),
    );
  }
}
